FROM openjdk:11-jdk
ENV PORT 80
EXPOSE 8123
COPY ./target /opt/target
WORKDIR /opt/target
CMD ["/bin/bash", "-c", "find -type f -name '*.jar' | xargs java -jar"]
